#include "defs.h"
#include "../code/vector.h"
//~ #include<assert>

using namespace std;
int main(int argc, char** argv)
{
	int t, n;	
	cin >> t >> n;
	/* Supongo que t % 2 ==0 */
	//~ assert(t % 2 == 0);
	
	Vector v1 (n);
	Vector v2 (n);	
	Vector v3 (3);
	Vector v4 (3);
	v3[0] = 1;
	v3[1] = 2;
	v3[2] = 3;
	v4[0] = 1;
	v4[1] = 1;
	v4[2] = 1;
	forn(i, t/2)
	{
		forn(j, n)
			cin >> v1[j];
			
		forn(j, n)
			cin >> v2[j];
		
		Vector cuentas (n);
		
		//~ double normaDos(Vector& A, int n);
		//~ void resta(Vector& v1, Vector& v2, int n);
		//~ void alphaVector(Vector& v, double alpha, int n);
		//~ void normalizar(Vector& v, int n);
		//~ double productoInterno(Vector& v1, Vector& v2, int n);
		//~ void proyeccion(Vector& v, Vector& u, Vector& res, int n);
		//~ void swap(Vector& v, int i, int j);
		//~ void generarVector(Vector& v, int n);
		//~ void enRango(double& d);
		//~ void enRangoV(Vector& v, int n);	
		
		cout << "Norma dos primer vector: " << normaDos(v1, n) << " norma dos segundo vector: " << normaDos(v2, n) << endl;		
		cout << "Producto interno: " << productoInterno(v1, v2, n) << endl;
			
		cout << endl;
	}
	cout << "Prod in v3 y v4 " << productoInterno(v3, v4, 3) << endl;
	cout << endl;
	
	return 0;
}
